package com.hk.dtos;
import java.sql.Timestamp;

/*
 * CREATE table USERS(
    "ID"         VARCHAR2(10) NOT NULL,
    "NAME"      VARCHAR2(40) NOT NULL,
    "PASSWORD"   VARCHAR2(20) NOT NULL,
    "ADDR"        VARCHAR2(100) NOT NULL,
    "EMAIL"        VARCHAR2(100) NOT NULL,
    "BIRTH"    DATE NOT NULL,
    "PHONE"      NUMBER NOT NULL,
    "PHOTO"        VARCHAR2(100) NOT NULL,
    "PROPILE"        VARCHAR2(100) NOT NULL,
    "SCORE"        NUMBER,
    "GRADE"        NUMBER,
    "REGDATE"  DATE NOT NULL,
    constraint "USERS_PK" primary key("ID")
);
 */


public class UserDto {
		String name;
		String addr;
		String id;
		String pwd;
		String phone;
		String email;
		String birth;
		String photo;
		String propile;
		int score;
		int grade;
		Timestamp regdate;
		
		public UserDto(String name, String addr, String id, String pwd,
				String phone, String email, String birth, String photo,
				String propile, int score, int grade, Timestamp regdate) {
			super();
			this.name = name;
			this.addr = addr;
			this.id = id;
			this.pwd = pwd;
			this.phone = phone;
			this.email = email;
			this.birth = birth;
			this.photo = photo;
			this.propile = propile;
			this.score = score;
			this.grade = grade;
			this.regdate = regdate;
		}
		public UserDto() {
			super();
			// TODO Auto-generated constructor stub
		}
		@Override
		public String toString() {
			return "UserDto [name=" + name + ", addr=" + addr + ", id=" + id
					+ ", pwd=" + pwd + ", phone=" + phone + ", email=" + email
					+ ", birth=" + birth + ", photo=" + photo + ", propile="
					+ propile + ", score=" + score + ", grade=" + grade
					+ ", regdate=" + regdate + "]";
		}
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public String getAddr() {
			return addr;
		}
		public void setAddr(String addr) {
			this.addr = addr;
		}
		public String getId() {
			return id;
		}
		public void setId(String id) {
			this.id = id;
		}
		public String getPwd() {
			return pwd;
		}
		public void setPwd(String pwd) {
			this.pwd = pwd;
		}
		public String getPhone() {
			return phone;
		}
		public void setPhone(String phone) {
			this.phone = phone;
		}
		public String getEmail() {
			return email;
		}
		public void setEmail(String email) {
			this.email = email;
		}
		public String getBirth() {
			return birth;
		}
		public void setBirth(String birth) {
			this.birth = birth;
		}
		public String getPhoto() {
			return photo;
		}
		public void setPhoto(String photo) {
			this.photo = photo;
		}
		public String getPropile() {
			return propile;
		}
		public void setPropile(String propile) {
			this.propile = propile;
		}
		public int getScore() {
			return score;
		}
		public void setScore(int score) {
			this.score = score;
		}
		public int getGrade() {
			return grade;
		}
		public void setGrade(int grade) {
			this.grade = grade;
		}
		public Timestamp getRegdate() {
			return regdate;
		}
		public void setRegdate(Timestamp regdate) {
			this.regdate = regdate;
		}
		
		}


